import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router/index'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import store from './stores'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
// 使用 Vue Router  ,要在挂载之前
app.use(router)
app.use(store)
// 挂载 Vue 应用到 DOM  
app.mount('#app')
